﻿using System.Collections.Generic;
using System.Drawing;
using ProjectN.Core.Instance.Data;

namespace ProjectN.Core.Element
{
    public enum ElementType
    {
        Empty = 0x00,
        Basic = 0x01,
        Advanced = 0x02,
        Completion = 0x04
    }

    public interface IElement
    {
        ElementType Type { get; }

        void OnDraw(Graphics graph, Color? color = null);

        IEnumerable<IElement> Subelements { get; }

        void OnClick(Point pos);

        void OnLoad(InstanceData InstanceData);
    }
}
